﻿Imports System.ComponentModel.DataAnnotations

Namespace Ita.ProElicere.Model

    Public Class FaultType
        <ScaffoldColumn(False)> _
        Public Property FaultTypeID() As Integer

        <Required(ErrorMessage:="The name is required"), StringLength(100), Display(Name:="Name")> _
        Public Property FaultTypeName() As String

        Public Overridable Property Faults() As ICollection(Of Fault)
    End Class
End Namespace